home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
netz
/
amiconnect
/
amitcp
/
bin
/
all
/
emailmch
next >
Wrap
Text File
|
1995-07-29
|
703b
|
27 lines
/* Rexx
** $ver: E-Mail Mch V1
*/
sequence = "999"
if open(seq,"uulib:seq","R") then
do
sequence = readln(seq)
call close(seq)
end
filename = "t:mailtmp-"||sequence
call open(edfile,filename,"W")
call seek(edfile,0,"B")
call writeln(edfile,"To: Martin@mchunt.zynet.co.uk")
call writeln(edfile,"Subject: AC-")
call writeln(edfile,"")
call writeln(edfile,"Hi Martin,")
call close(edfile)
address command "ed "||filename
cmd = "protect "||filename||" rweds"
address command cmd
cmd = "join "||filename||" uulib:$user.signature to t:joined"
address command cmd
cmd = "sendmail <t:joined -f $user"
address command cmd
address command "delete t:joined quiet"
address command "delete "||filename||" quiet"